scala match default

201

scala match default -

something match {
    case "val" => "found match!!"
    case _ => "default case"
}

Comments

Submit
0 Comments